-
-
Notifications
You must be signed in to change notification settings - Fork 858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Keep-alive timeouts. #627
Keep-alive timeouts. #627
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Somes initial comments.
Just to confirm — this mechanism only intervenes at the time of making a request, correct? I'm wondering how long requests (e.g. those using e.g. read_timeout=20
) would be affected by this change. I assume that while the request is executing, the connection is not considered keep-alive, so we're all good?
Co-Authored-By: Florimond Manca <[email protected]>
Have made some cleanups based on the review. I'd like for all of this to be a bit tighter, as part of #624, but it seems sensible to approach it incrementally, and at least address the issue for now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small nit then this looks good to me!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍🎉
Closes #34
Closes #95 (as best we can)
Closes #289
Closes #381